#include "stdafx.h"
#include <boost/test/auto_unit_test.hpp>
#include "bmock.hpp"
#include "test_generate_mock_class_newmocks.hpp"

void test_generate_mock_class3::f_1() {
	MOCK_VOID(0,());
	my_val = 43;
}

void test_generate_mock_class3::f_1(int x) {
	MOCK_VOID(1, (IN(x)));
	my_val = 24;
}

int test_generate_mock_class3::f_2() {
	MOCK(0,());
	my_val = 43;
	return my_val;
}

int test_generate_mock_class3::f_2(int* x) {
	MOCK(1,(IN(x)));
	my_val = 24;
	return my_val;
}

void test_generate_mock_class3::l() {
	MOCK_VOID(0,());
	my_val = 43;
}

int test_generate_mock_class3::h(int x) {
	MOCK(1,(IN(x)));
	my_val = x;
	return my_val;
}

int test_generate_mock_class3::method_f() const {
	MOCK(0,());
	return my_val;
}

void test_generate_mock_class3::method_g(int& x) const {
	MOCK_VOID(1, (OUT(x)));
	x = my_val;
}

test_generate_mock_class3::test_generate_mock_class3(double& x) {
	MOCK_VOID(1, (OUT(x)));
	my_val = 24;
	x = my_val;
}

test_generate_mock_class23::~test_generate_mock_class23() {
	MOCK_VOID(0,());
	my_val = 0;
}

bool* test_generate_mock_class3::f_bool() {
	MOCK(0,());
	return NULL;
}

incomp_23* test_generate_mock_class3::f_incomp() {
	MOCK(0,());
	return NULL;
}

void* test_generate_mock_class3::f_alloc() {
	MOCK(0,());
	return NULL;
}